package com.lzx.dto;

import com.lzx.entity.Product;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: lzx
 * @Date: 2021/2/24 17:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShopingCart {
    @NotBlank
    private Integer cartId;
    @NotBlank
    private Integer memberId;

    private Integer count;

    private BigDecimal total;

    private Product product;

    private Boolean isCheck;
}
